import java.util.*;
public class Money{
	private long amount;
	private Currency currency;
	public Money(long a, Currency c){
		this.amount=a;
		this.currency=c;
	}
	public String toString(){
		String code = currency.getCurrencyCode();
		int fractdigit = currency.getDefaultFractionDigits();
		String h = currency.getSymbol(Locale.US);
		return amount*(0.01)+h;
	}
}
